package zuoye;

public class CatAndDogTest {
    public static void main(String[] args) {
        Cat a= new Cat();
        a.setColor("花色");
        a.setBreed("波斯猫");

        Dog b= new Dog("黑色","藏獒");

       a.eat();
       a.catchMouse();

       b.eat();
       b.lookHome();
    }
}
